package com.ping.model;

import java.util.List;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;

public class Market extends BaseModel<Market>{
	public static final String TABLE_NAME="monkey_market";
	
	public static final String UUID = "uuid";
	public static final String NAME = "name";
	public static final String ADRESS = "address";
	public static final String AREA = "area";
	public static final String LOGLAT = "loglat";
	public static final String USERS = "users";
	public static final String DISCOUNT = "discount";
	public static final String EXTRA = "extra";
	public static final String ALEVEL = "alevel";
	public static final String MLEVEL = "mlevel";
	
	public static final String SQL_GET_ALL_MARKETS = 
			"SELECT * FROM monkey_market ORDER BY alevel, mlevel";
	
}
